package com.shop.cereshop.business.page.shop;

import com.shop.cereshop.commons.domain.im.tx.resp.ocr.BizLicenseOCRResp;
import com.shop.cereshop.commons.domain.im.tx.resp.ocr.IdCardOCRResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
@ApiModel(value = "RecognizeResp", description = "OCR识别返回数据")
public class RecognizeResp {

    @ApiModelProperty(value = "流程ID")
    private String flowId;

    @ApiModelProperty(value = "流程状态")
    private Integer flowStatus;

    @ApiModelProperty(value = "营业执照识别结果")
    private BizLicenseOCRResp businessLicenseResult;

    @ApiModelProperty(value = "身份证识别结果，front/back")
    private Map<String, IdCardOCRResp> idCardResult;

    @ApiModelProperty(value = "提示信息")
    private String message;
}
